﻿namespace Numbrella.TaskSamples.PrimeNumbers
{
	using Numbrella.Core;
	
	public class ResultValidator : IResultValidator<ResultContents>
	{
		public bool IsCorrect(TaskResult<ResultContents> result)
		{
			return result.Contents.PrimeNumberCount >= 0;
		}
	}
}
